package Shangji;

import java.io.Serializable;

public class Student extends BaseClass implements Serializable {
    private String name;
    static final  int age=30;
    protected String address;
    public String message;

    static final int getAge(){
        return age;
    }
    public Student() {
    }

    public Student(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
    public void show(){
        System.out.println(getName());
    }

}
